package com.ktjiaoyu.ktmall.test;


import com.ktjiaoyu.ktmall.service.CategoryService;
import com.ktjiaoyu.ktmall.service.impl.CategoryServiceImpl;

import java.sql.SQLException;

public class Main {
    public static void main(String[] args) {
        CategoryService service = new CategoryServiceImpl();
        try {
            System.out.println(service.getTree());
        } catch (SQLException e) {
            throw new RuntimeException(e);
        }
    }
}
